﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Silmoon.DNS.Monitoring;

namespace CookyMonitorApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Startup startup = new Startup();
            startup.Start();
            while (startup.g.RunningState == Silmoon.MySilmoon.RunningState.Running)
            {
                string input = Console.ReadLine();
                switch (input)
                {
                    case "exit":
                        startup.Stop();
                        break;
                    default:
                        startup.g.onInputText(input);
                        break;
                }
            }
        }
    }
}
